package demo3;

/**
 * @Author: Lenovo
 * @Date: 2024/5/22 22:44
 * @description:
 */
public class Test {
    public static void main(String[] args) {
       /*Robet robet=new Robet();
       robet.Run();*/
        Dog dog1=new Dog("旺财",9);
        Dog dog2=new Dog("旺财",9);
        System.out.println(dog2.equals(dog1));
        //System.out.println(dog2==dog1);
    }
}
